#include "GameScene.h"

namespace gameCG {
	GameScene::GameScene() {
		SceneElement* teapot = new Board();
		rootNode = new SceneNode(teapot);
	}

	GameScene::~GameScene() {
		delete rootNode;
	}
	
	SceneNode* GameScene::getRoot() {
		return rootNode;	
	}

	void GameScene::updateScene(int delta) {
		rootNode->update(delta);
	}

	void GameScene::showScene() {
		rootNode->render();
	}
}
